import { postJson,post,get,put} from '@/utils/request'

const getAllTrainee = (data) => {
  return postJson('/trainees/getAllTrainee',data)
}

const updateStatus = (data) => {
  return get(`/trainees/updataStatus${data}`,"")
}

const cancelStatus = (data) => {
  return get(`/trainees/cancelStatus${data}`,"")
}
const deleteTrainee = (data) => {
  return get(`/trainees/deleteTrainee${data}`,"")
}
export default{
  deleteTrainee,
  cancelStatus,
  updateStatus,
  getAllTrainee
}